package ead.cs.service.impl;

import ead.cs.domain.Declaration;
import ead.cs.repository.DeclarationRepository;
import ead.cs.service.DeclarationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeclarationServiceImpl implements DeclarationService {

    @Autowired
    private DeclarationRepository declarationRepository;

    @Override
    public Declaration save(Declaration declaration) {
        return declarationRepository.save(declaration);
    }
}
